package org.devcp.tp.common.event;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

public class SysEvent implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -6408041708412727673L;
	/**事件名称*/
	private String name;
	/**事件参数*/
	private Map<String,Object> attr = new HashMap<String,Object>();
	
	public SysEvent(){}
	
	public SysEvent(String name,Map<String,Object> attr){
		this.name = name;
		this.attr = attr;
	}
	public SysEvent(String name){
		this.name = name;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Map<String, Object> getAttr() {
		return attr;
	}
	public void setAttr(Map<String, Object> attr) {
		this.attr = attr;
	}
}
